interface State {
    read_show?: boolean
    publish_show?: boolean
    tab_show?: boolean
    imgSrc:string
}
const mutations = {
    changeReadisShow:(state: State, params: boolean) =>{
        state.read_show = params
    },
    changePublishisShow:(state: State, params: boolean)=> {
        state.publish_show = params
    },
    changeTabisShow:(state:State,params:boolean) => {
        state.tab_show = params
    },
    changeSrc:(state:State,params:string) => {
        state.imgSrc = params
    }
}
export default mutations